package com.lagou.web.servlet;

import com.lagou.base.BaseServlet;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.Base64;

@WebServlet(name = "TestServlet1",urlPatterns = "/test")
public class TestServlet1 extends BaseServlet {



    /**
     * 模块对应的功能
     *
     */
    public void addCourse(HttpServletRequest request, HttpServletResponse response){
        System.out.println("新建课程");
    }

    public void findByStatus(HttpServletRequest request, HttpServletResponse response){
        System.out.println("根据状态查询");
    }

    public void findByName(HttpServletRequest request, HttpServletResponse response){
        System.out.println("根据课程名称查询");
    }

}
